<!DOCTYPE html>
<!-- saved from url=(0037)https://v3.bootcss.com/examples/blog/ -->
<html lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="/static/css/favicon.ico">

    <title>小牛运维个人日报</title>

    <!-- Bootstrap core CSS -->
    <link href="/static/css/bootstrap.min.css" rel="stylesheet">

    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <link href="/static/css/ie10-viewport-bug-workaround.css" rel="stylesheet">
	<link href="/static/css/bootstrap-datepicker3.css" rel="stylesheet">
    <link href="/static/css/jquery-confirm.css" rel="stylesheet">
    <!-- Custom styles for this template -->
    <link href="/static/css/blog.css" rel="stylesheet">
	{% block styles %}{% endblock %}

    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
    <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
    <script src="/static/js/ie-emulation-modes-warning.js"></script>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
      <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>

  <body>

    <div class="blog-masthead">
     <div class="container">
        <nav class="blog-nav">
            {% if url_for('main.index') is current_link %}
            <a class="blog-nav-item active" href="{{ url_for('main.index') }}">运维日报</a>
            {% else %}
            <a class="blog-nav-item" href="{{ url_for('main.index') }}">运维日报</a>
            {% endif %}
            {% if url_for('main.about') is current_link %}
            <a class="blog-nav-item active" href="{{ url_for('main.about') }}">关于</a>
            {% else %}
            <a class="blog-nav-item" href="{{ url_for('main.about') }}">关于</a>
            {% endif %}
		   {% if current_user.is_authenticated() %}
            {% if url_for('auth.logout') is current_link %}
            <a class="blog-nav-item navbar-right active" href="{{ url_for('auth.logout') }}">退出</a>
            {% else %}
            <a class="blog-nav-item navbar-right" href="{{ url_for('auth.logout') }}">退出</a>
            {% endif %}

            {% if url_for('auth.setpwd', id=current_user.id) is current_link %}
            <a class="blog-nav-item navbar-right active" href="{{ url_for('auth.setpwd', id=current_user.id) }}">{{ current_user.name }}</a>
            {% else %}
            <a class="blog-nav-item navbar-right" href="{{ url_for('auth.setpwd', id=current_user.id) }}">{{ current_user.name }}</a>
            {% endif %}


            {% else %}

             {% if url_for('auth.login') is current_link %}
            <a class="blog-nav-item navbar-right active" href="{{ url_for('auth.login') }}">登录</a>
            {% else %}
            <a class="blog-nav-item navbar-right" href="{{ url_for('auth.login') }}">登录</a>
            {% endif %}
             {% if url_for('auth.register') is current_link %}
            <a class="blog-nav-item navbar-right active" href="{{ url_for('auth.register') }}">注册</a>
            {% else %}
            <a class="blog-nav-item navbar-right" href="{{ url_for('auth.register') }}">注册</a>
            {% endif %}


		    {% endif %}
		  
		 
        </nav>
		</div>
		
    </div>

    <div class="container">

     <!-- <div class="blog-header col-xs-6 col-md-offset-3">
        <h1 class="blog-title">The Bootstrap Blog</h1>
      </div>-->

      <div class="row">

        <div class="col-xs-6 blog-main">
		
		 <h1 class="blog-title">{% block title %}{% endblock %}</h1>
		 
		 
          <div class="blog-post">
            {% block content %}
			{% endblock %}


           
          </div><!-- /.blog-post -->

       

        </div><!-- /.blog-main -->

          

       

        
         
       

      </div><!-- /.row -->

    </div><!-- /.container -->

    <footer class="blog-footer">
      
      <p>
        <a href="#">Copyright &copy;2018 YJ</a>
      </p>
    </footer>


    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="/static/js/jquery.min.js"></script>
    <script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script>
    <script src="/static/js/bootstrap.min.js"></script>
    <script src="/static/js/jquery-confirm.js"></script>
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <script src="/static/js/ie10-viewport-bug-workaround.js"></script>
	<script src="/static/js/bootstrap-datepicker.min.js"></script>
    <script src="/static/js/bootstrap-datepicker.zh-CN.min.js"></script>
	{% block scripts%}
	{% endblock %}
  

</body>
</html>
